package com.atguigu.spzx.manage.mapper;

import com.atguigu.spzx.model.dto.system.EventDto;
import com.atguigu.spzx.model.entity.system.Event;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface EventMapper {

    List<Event> findByPage(EventDto eventDto);


    void saveEvent(Event event);

    Event findByEventName(String eventName);


    Event selectById(Long id);

    void deleteById(Long id);

    void updateById(Event event);
}
